<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'share.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <div class="section" style="opacity: 1;">

        <div class="content">

            <div style="">

                <span class="upload-btn">
                    <button type="button" id="inline" ng-click="vm.open_upload()" class="button">上&nbsp;&nbsp;传</button>
                </span>
                <span class="uoload-btn">
                    <button type="button" id="newFolder" class="button">新建文件夹</button>
                </span>
                <span id="newName" style="display:none">
                    <input class="form-control inputFolderName" id="newFolderName" placeholder="请输入文件夹名"><button class="btn btn-sm" id="create" onclick="create_folder()">确定
                </button>
                    <span id="warning" style="color:red"></span>
                </span>


                <span id="submitmsg" style="color:red;margin-left: 500px;display: none;"></span>


                <input id="jqueryFile" style="display: none" type="file" name="testFile" ma="" data-url="/action/teamShare/upload">

                <span id="flist">
                </span>

            </div>


            <div class="diarytips">

                <span class="tipscontent">提示：上传文件大小不能超过10M,可以拖拽文件到下面列表上传</span>
            </div>
                        
                                    <div class="sizeTip">当前使用了167.00 KB /1024 MB</div>

            <div class="progress">
                <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 0.02%;">
                </div>
                <input type="hidden" id="uploadteamid" value="28954">
                <input type="hidden" id="gusername" value="FeidD">
                <input type="hidden" id="folder" value="0">
                            <input type="hidden" id="uploadpath" size="30" class="TEXT" value="/team/YC67team2/201503">
            </div>

                                    <div class="filepath">
                    <span><a href="http://team.oschina.net/YC67team2/share" class="desktop icon" title="文件"></a></span>
                                    </div>
            
            <div id="ajaxReload">
                <div id="dropzone" class="panel panel-default" style="position: relative;">

                    <table id="uploaded-files" class="table table-striped table-upload">
                        <thead>

                        <tr>
                                                                                    <th class="checkbox-col"><input id="allSelect" type="checkbox"></th>
                                                        <th id="col-name" class="file-col">文件名</th>
                            <th>文件大小</th>
                            <th class="time-col">上传时间</th>
                            <th class="author-col">上传者</th>
                            <th class="downloaded-col">下载次数</th>
                            <th width="100px">操作</th>
                            <th>&nbsp;</th>
                        </tr>
                        </thead>
                        <tbody>
                                                                                    
                                                                                                                                        <tr id="folder_list_21369">
                                                                                                                        <td><input type="checkbox" name="folderSelect" value="21369"></td>
                                                                                <td class="file-col">
                                            <i class="glyphicon glyphicon-folder-open" for="视频" show="icon">&nbsp;</i>
                                            <a id="name_21369" href="/YC67team2/share?f=21369">视频</a>
                                        </td>

                                                                                                                                                                <td>0</td>

                                                                                <td>2015-03-25 20:14:14</td>

                                                                                                                        <td class="author-col">刘俊杰</td>
                                        <td>-</td>
                                        <td>
                                            <div class="oprate" style="display: none;">
                                                                                                                                                    <a title="重命名" onclick="folderrename('21369','视频')"><i class="fa fa-pencil-square-o fa-lg"></i></a>&nbsp;
                                                    <a title="移动" onclick="toMove(&quot;21369&quot;,&quot;0&quot;,0)"><i class="fa fa-sign-out fa-lg"></i></a>&nbsp;
                                                    <a title="删除"><i onclick="delete_folder('21369')" class="fa fa-trash-o fa-lg"></i></a>
                                                                                                                                                                                                                                                                                                                        </div>
                                        </td>
                                        <td></td>
                                    </tr>
                                                                    
                                                                                                                                        <tr id="folder_list_21368">
                                                                                                                        <td><input type="checkbox" name="folderSelect" value="21368"></td>
                                                                                <td class="file-col">
                                            <i class="glyphicon glyphicon-folder-open" for="文档" show="icon">&nbsp;</i>
                                            <a id="name_21368" href="/YC67team2/share?f=21368">文档</a>
                                        </td>

                                                                                                                                                                <td>5</td>

                                                                                <td>2015-03-25 20:14:14</td>

                                                                                                                        <td class="author-col">刘俊杰</td>
                                        <td>-</td>
                                        <td>
                                            <div class="oprate" style="display: none;">
                                                                                                                                                    <a title="重命名" onclick="folderrename('21368','文档')"><i class="fa fa-pencil-square-o fa-lg"></i></a>&nbsp;
                                                    <a title="移动" onclick="toMove(&quot;21368&quot;,&quot;0&quot;,0)"><i class="fa fa-sign-out fa-lg"></i></a>&nbsp;
                                                    <a title="删除"><i onclick="delete_folder('21368')" class="fa fa-trash-o fa-lg"></i></a>
                                                                                                                                                                                                                                                                                                                        </div>
                                        </td>
                                        <td></td>
                                    </tr>
                                                                    
                                                                                                                                        <tr id="folder_list_21367">
                                                                                                                        <td><input type="checkbox" name="folderSelect" value="21367"></td>
                                                                                <td class="file-col">
                                            <i class="glyphicon glyphicon-folder-open" for="图片" show="icon">&nbsp;</i>
                                            <a id="name_21367" href="/YC67team2/share?f=21367">图片</a>
                                        </td>

                                                                                                                                                                <td>0</td>

                                                                                <td>2015-03-25 20:14:14</td>

                                                                                                                        <td class="author-col">刘俊杰</td>
                                        <td>-</td>
                                        <td>
                                            <div class="oprate" style="display: none;">
                                                                                                                                                    <a title="重命名" onclick="folderrename('21367','图片')"><i class="fa fa-pencil-square-o fa-lg"></i></a>&nbsp;
                                                    <a title="移动" onclick="toMove(&quot;21367&quot;,&quot;0&quot;,0)"><i class="fa fa-sign-out fa-lg"></i></a>&nbsp;
                                                    <a title="删除"><i onclick="delete_folder('21367')" class="fa fa-trash-o fa-lg"></i></a>
                                                                                                                                                                                                                                                                                                                        </div>
                                        </td>
                                        <td></td>
                                    </tr>
                                                                    
                                                                                                                                        <tr id="folder_list_21366">
                                                                                                                        <td><input type="checkbox" name="folderSelect" value="21366"></td>
                                                                                <td class="file-col">
                                            <i class="glyphicon glyphicon-folder-open" for="音频" show="icon">&nbsp;</i>
                                            <a id="name_21366" href="/YC67team2/share?f=21366">音频</a>
                                        </td>

                                                                                                                                                                <td>0</td>

                                                                                <td>2015-03-25 20:14:14</td>

                                                                                                                        <td class="author-col">刘俊杰</td>
                                        <td>-</td>
                                        <td>
                                            <div class="oprate" style="display: none;">
                                                                                                                                                    <a title="重命名" onclick="folderrename('21366','音频')"><i class="fa fa-pencil-square-o fa-lg"></i></a>&nbsp;
                                                    <a title="移动" onclick="toMove(&quot;21366&quot;,&quot;0&quot;,0)"><i class="fa fa-sign-out fa-lg"></i></a>&nbsp;
                                                    <a title="删除"><i onclick="delete_folder('21366')" class="fa fa-trash-o fa-lg"></i></a>
                                                                                                                                                                                                                                                                                                                        </div>
                                        </td>
                                        <td></td>
                                    </tr>
                                                                    
                            
                        </tbody>
                    </table>
                </div>
                <div>     </div>
            </div>
            <div onclick="closeM()" class="masking">
            </div>
            <div id="moveTo">
                <div class="mHeader"><span>&nbsp;&nbsp;移动到</span><span class="pull-right"><i onclick="closeM()" class="mClose fa fa-times fa-2x"></i></span>
                </div>
                <div id="treeContent" class="mContent ztree"></div>
                <div class="mFooter">
                                                                    <button id="" onclick="closeM()" href="javascript:void(0);" class="btn btn-default pull-right">
                        <b>取消</b>
                    </button>
                    <button id="mOk" href="javascript:void(0);" class="btn btn-primary pull-right"><b>确定</b></button>
                    <span class="moveMsg pull-right"></span>
                </div>
            </div>
        </div>

    </div>
  </body>
</html>
